Fix nightly and improve merge error message
authorAlex Crichton <alex@alexcrichton.com>
Mon, 19 Jan 2015 05:02:25 +0000 (21:02 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 19 Jan 2015 05:02:25 +0000 (21:02 -0800)
commit124e8d3c51d15b64da5aa4373033eee0fec5f543
tree02f09d8656050388aff2fa9511722c2dbfed3b58
parent06ae4bbcbb057239983544f7a9c920f45c432f74
Fix nightly and improve merge error message

The nightly bots are all failing because a nightly build emits a .cargo/config
which uses `[target]` for some overrides, but a test was creating invalid
configuration for `[target]`, causing the test error message to change.

This commit fixes the test by using a different error message (which should not
conflict). It also improves the error message for "configuration could not be
merged" to include more contextual information about what just happened.
src/cargo/util/config.rs
tests/test_bad_config.rs